Skip to content

ci: least-privilege permissions blocks; add SECURITY.md (OpenSSF Scorecard) - #52

Merged
ronaldtse merged 1 commit into
mainfrom
chore/scorecard-remediation
Nov 24, 2026
Merged

ronaldtse merged 1 commit into
mainfrom
chore/scorecard-remediation

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Summary

Remediates OpenSSF Scorecard findings:

  • Token-Permissions (0 -> 10): release.yml and test.yml declare explicit top-level permissions: contents: read. The release job keeps its job-level id-token: write (PyPI trusted publishing).
  • Security-Policy (0 -> 10): adds SECURITY.md with the reporting channels used by the sibling repos (Security Advisories + [email protected]).

Test plan

  • YAML validated locally (top-level + job-level permission keys parse)
  • PyTest workflow exercises the PR (3.10/3.11/3.12 + conformance matrix green)
  • release.yml is tag/dispatch-triggered only; publish grant unchanged at job level

…ecard)

release.yml and test.yml declare explicit top-level contents: read
(release.yml's job-level id-token: write for PyPI trusted publishing is
kept). Adds a SECURITY.md with the reporting channels used by the
sibling repos.

Clears the Token-Permissions and Security-Policy findings from OpenSSF
Scorecard.
@ronaldtse
ronaldtse merged commit 4516652 into main Nov 24, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant